package com.quartz.com.observer;

public class ObserverA implements Observer{
    BeingObserver b=new BeingObserver();

    @Override
    public void order() {
        System.out.printf("我监听到了A");
    }
    ObserverA(BeingObserver b){
        this.b=b;
        b.addObserver(this);
    }

}
